#include "../../include/transformation/scale.hpp"


namespace transformation{

    Matrix44 Scale::ScaleX(float x){
        float res[16]={x,0,0,0,
                       0,1,0,0,
                       0,0,1,0,
                       0,0,0,1};
        return Matrix44(res);
    }
    Matrix44 Scale::ScaleY(float y){
        float res[16]={1,0,0,0,
                       0,y,0,0,
                       0,0,1,0,
                       0,0,0,1};
        return Matrix44(res);
    }

    Matrix44 Scale::ScaleZ(float z){
        float res[16]={1,0,0,0,
                       0,1,0,0,
                       0,0,z,0,
                       0,0,0,1};
        return Matrix44(res);
    }
    Matrix44 Scale::ScaleXYZ(float x,float y,float z){
        float res[16]={x,0,0,0,
                       0,y,0,0,
                       0,0,z,0,
                       0,0,0,1};
        return Matrix44(res);
    }


}